<template>
	<main-container :options="options" :isShowIframeHeader="false" :is-tab="isTab" />
</template>

<script>
	import MainContainer from '@/common/components/mainContainerMenu';

	export default {
		name: 'project',

		components: {
			MainContainer,
		},

		data() {
			return {
				options: [
					{
						path: '/billConfiguration/billManagement',
						show: true,
						rightButton: { add: false, search: false },
						rightButtons: [
							{
								name: '导入',
								type: 'primary',
								methodName: 'importBill',
							},
							{
								name: '导出',
								type: 'primary',
								methodName: 'downBill',
							},
							{
								name: '新增',
								type: 'primary',
								methodName: 'addBill',
							},
						],
					},
          {
						path: '/billConfiguration/paymentManagementRecord',
						show: true,
						rightButton: { add: false, search: false },
						rightButtons: [
							{
								name: '导入',
								type: 'primary',
								methodName: 'importBill',
							},
							{
								name: '导出',
								type: 'primary',
								methodName: 'downBill',
							},
							{
								name: '新增',
								type: 'primary',
								methodName: 'addBill',
							},
						],
					},
				],
				isTab: true,
			};
		},
		created() {
			this.isTab = this.$route.meta.noTab ? false : true;
		},
		mounted() {},
		methods: {},
	};
</script>
